<nz-card   [nzTitle]="title" [nzExtra]="extraTemplate">

  <nz-table #basicTable [nzData]="bl">
    <thead>
    <tr>
      <th>key</th>
      <th>上块时间</th>
      <th>操作</th>

    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of basicTable.data">
      <td>{{data.keyname}}</td>
      <td>{{data.slsj|date:'yyyy-MM-dd HH:mm'}}</td>
      <td>
        <button  nz-button (click)="sy(data.keyname)">溯源</button >
        <!--<button  nz-button nzType="danger">紧急停块</button >-->

      </td>

    </tr>
    </tbody>
  </nz-table>

</nz-card>
<ng-template #extraTemplate>

</ng-template>
<ng-template #title>

  <nz-row [nzGutter]="16">
    <nz-col>
      <nz-statistic  [nzValue]="b.currenthash" [nzTitle]="'当前Hash'"   [nzValueStyle]="{ color: '#3F8600' }"></nz-statistic>
    </nz-col>
<nz-col>
      <nz-statistic  [nzValue]="b.height" [nzTitle]="'链码高度'"   [nzValueStyle]="{ color: '#3F8600' }"></nz-statistic>
    </nz-col>




  </nz-row>

</ng-template>

